package com.xxx.flink.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @author guwq
 * @since 2023/7/25
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Event {

    private String name;
    private String url;
    private Long timestamp;

    @Override
    public String toString() {
        return "Event{" +
                "name='" + name + '\'' +
                ", url='" + url + '\'' +
                ", timestamp=" + new Timestamp(timestamp) +
                '}';
    }
}
